package com.wn.ov;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author 小许
 * @Date 2020/10/23 16:57
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class PatientOv {
    //患者id
    private Integer id;

    //患者真实姓名
    @NotBlank(message = "患者的姓名不能为空")
    private String realName;
    //患者年纪
    @NotNull(message = "患者的年龄不能为空")
    private Integer age;
    //患者性别
    @NotBlank(message = "患者的性别不能为空")
    private String gender;
    //患者描述
    private String description;
    //患者联系方式
    @NotBlank(message = "患者的电话不能为空")
    private String telephone;
    //住院状态 0为未住院，1为住院，2为出院
    private Integer status;

    private String statu;
    //患者床位
    private Integer roomId;
    //护士id
    private String nurseName;
    //主治医生id
    private Integer doctorId;
    private String doctorName;
    //患者科室
    private Integer departmentId;
    private String departmentName;

    private String no;//床号

    private Integer patientId;//患者id
}
